package top.linuyx.pojo.vo;

import ch.qos.logback.core.rolling.FixedWindowRollingPolicy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.scheduling.support.SimpleTriggerContext;
import top.linuyx.pojo.entity.CommodityImageEntity;

import java.util.LinkedList;
import java.util.List;

/**
 * @Author Cucumber
 * @Description
 * @Date Created in 2021-04-09 9:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryProductsVO {

    /**
     * 商品Id
     */
    private Long commodityId;

    /**
     * 品牌名称
     */
    private String brandName;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 商品类型
     */
    private String typeName;

    /**
     * 商品详情
     */
    private String information;

    /**
     * 商品颜色
     */
    private String color;

    /**
     * 每个商品的特有属性，以JSON格式存储
     */
    private String extendInformation;

    /**
     * 原价
     */
    private Double oldPrice;

    /**
     * 现价
     */
    private Double nowPrice;

    /**
     * 销量
     */
    private Integer sales;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 图片名称+后缀
     */
    private List<String> images = new LinkedList<>();

}
